package com.vvv.shortlink.project.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author vvv
 * @date 2024/2/27 16 22
 * discription
 */
@Data
@ConfigurationProperties(prefix = "short-link.goto-domain.black-list")
public class GotoDomainBlackListProperties {

    /**
     * 是否开启跳转原始链接域名黑名单验证，默认关闭
     */
    private Boolean enable = false;

    /**
     * 报错描述
     */
    private String description;

    /**
     * 黑名单列表
     */
    private List<String> domains;
}
